Creating textured materials

Use textured materials to render a texture on a mesh. In Kanzi you can use textured materials with:

Creating a textured material

To create a textured material:

  1. Create a texture. See Using single textures.
  2. Create or use a material which uses a material type that supports textures. See Using material types and Using materials.
    For example, use the TexturedMaterial or VertexPhongTexturedMaterial.
  3. In the Library > Materials and Textures > Materials select the material.
  4. In the Properties set the Texture property to the texture you want to use in the material.
  5. In the Project select the node on which you want to use the textured material and in the Properties set the Material property to the textured material.

Creating a cubemap textured material

To create a cubemap textured material:

  1. Create a cubemap texture. See Using cubemap textures.
  2. Create or use a material which uses a material type that supports cubemap textures. See Using material types and Using materials.
    For example, use the VertexPhongTexturedCubeMaterial.
  3. In the Library > Materials and Textures > Materials select the material.
  4. In the Properties set the TextureCube property to the cubemap texture you want to use in the material.
  5. In the Project select the node on which you want to use the cubemap textured material and in the Properties set the Mesh Material property to the cubemap textured material.

See also

Using materials

Using material types

Using single textures

Using cubemap textures

Material types and materials